package com.moviesearch.elastic7.mapper;

import com.moviesearch.elastic7.model.Filmresources;
import com.moviesearch.elastic7.model.FilmresourcesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FilmresourcesMapper {
    long countByExample(FilmresourcesExample example);

    int deleteByExample(FilmresourcesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Filmresources record);

    int insertSelective(Filmresources record);

    List<Filmresources> selectByExample(FilmresourcesExample example);

    Filmresources selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Filmresources record, @Param("example") FilmresourcesExample example);

    int updateByExample(@Param("record") Filmresources record, @Param("example") FilmresourcesExample example);

    int updateByPrimaryKeySelective(Filmresources record);

    int updateByPrimaryKey(Filmresources record);
}